package cn.duyo.spring.tx.transaction;

/**
 * 事务保存点，支持创建、回滚、释放
 *
 * @author du
 */
public interface SavepointManager {

    Object createSavepoint() throws TransactionException;

    void rollbackToSavepoint(Object savepoint) throws TransactionException;

    void releaseSavepoint(Object savepoint) throws TransactionException;
}
